import {SequenceType, SequenceTypeMap} from "@/constants/SequenceType";
import {get} from '@/services/base-request'

export const genSequenceNumber = async (type: SequenceType, prefix?: string) => {
  return get('/sequenceNumber/genSequenceNumber', {
    ...SequenceTypeMap[type],
    prefix
  })
}
